Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screen for searching user's posts #7622

Open
wants to merge 3 commits into
base: samuel/search-lang-select-revamp
Choose a base branch
from

Conversation

mozzius
Copy link
Member

@mozzius mozzius commented Jan 30, 2025

Based on #7591

Fixes #2683, #2684, #7018.

Note: I changed some copy text, so did a mass find+replace to prevent translation churn. commit to review is 1e1154a

Simulator.Screen.Recording.-.iPhone.16.-.2025-01-30.at.10.43.18.mp4

Test plan

  • Test new screen on iOS/Android/Web (web especially)
  • Ensure no regressions on the primary search page

@arcalinea arcalinea temporarily deployed to samuel/profile-search-posts - social-app PR #7622 January 30, 2025 18:47 — with Render Destroyed
@mozzius mozzius changed the base branch from main to samuel/search-lang-select-revamp January 30, 2025 18:47
Copy link

github-actions bot commented Jan 30, 2025

Old size New size Diff
7 MB 7 MB 88 B (0.00%)

@surfdude29
Copy link
Contributor

I just tried this out, it works really well, excellent job!

I have one small suggestion: what about making the string in the menu conditional on whether you're looking at your own profile (I think it's something like isSelf?) so that on your own profile it says Search my posts instead?

label={_(msg`Search posts`)}
onPress={onPressSearch}>
<Menu.ItemText>
<Trans>Search posts</Trans>

Also, for reference, this would fix #2683, #2684 and the main request in #7018.

@mozzius mozzius force-pushed the samuel/profile-search-posts branch from e9edb10 to f046028 Compare January 30, 2025 21:02
@arcalinea arcalinea temporarily deployed to samuel/profile-search-posts - social-app PR #7622 January 30, 2025 21:02 — with Render Destroyed
@mozzius
Copy link
Member Author

mozzius commented Jan 30, 2025

Good idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants